package com.example.demo.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import java.io.Serializable;

/**
 * <p>
 * 品牌表
 * </p>
 *
 * @author Fyly
 * @since 2019-04-12
 */
public class Jshop_brand implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 品牌ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 品牌名称
     */
    @TableField("name")
    private String name;
    /**
     * 品牌LOGO 图片ID
     */
    @TableField("logo")
    private Integer logo;
    /**
     * 品牌排序 越小越靠前
     */
    @TableField("sort")
    private Integer sort;
    /**
     * 更新时间
     */
    @TableField("utime")
    private Date utime;
    /**
     * 删除标志 有数据代表删除
     */
    @TableField("isdel")
    private Integer isdel;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getLogo() {
        return logo;
    }

    public void setLogo(Integer logo) {
        this.logo = logo;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Date getUtime() {
        return utime;
    }

    public void setUtime(Date utime) {
        this.utime = utime;
    }

    public Integer getIsdel() {
        return isdel;
    }

    public void setIsdel(Integer isdel) {
        this.isdel = isdel;
    }

    @Override
    public String toString() {
        return "Jshop_brand{" +
        "id=" + id +
        ", name=" + name +
        ", logo=" + logo +
        ", sort=" + sort +
        ", utime=" + utime +
        ", isdel=" + isdel +
        "}";
    }
}
